package com.seek.vod.client;

import com.seek.commonutils.ResponseResult;
import com.seek.eduservice.entity.EduVideo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author: wml
 * @since: 2022/2/8 18:16
 */
@FeignClient("service-edu")
@Component
public interface EduClient {

    // 根据小节 id 修改小节
    @PutMapping("/eduservice/edu-video/updateById")
    ResponseResult updateById(@RequestBody EduVideo eduVideo);
}
